#include "instructions/base/branch_logic.h"

namespace jvm {
namespace instructions {

void branch(std::shared_ptr<rtda::Frame> frame, int32_t offset) {
    auto thread = frame->getThread();
    auto pc = thread->getPC();
    thread->setPC(pc + offset);
}

} // namespace instructions
} // namespace jvm